package ac.il.technion.cs236369.hw5.core.servlets.users;

import java.sql.Date;

public class UserEnvelope {
	private String userLogin;
	private String firstName;
	private String lastName;
	private String phoneNumber;
	private String role;
	private String activityStatus;
	

	public UserEnvelope( String login, String firstName, String lastName, String phoneNumber, Date activityStatus, String role) {
		this.userLogin = login;
		this.firstName = firstName;
		this.lastName = lastName;
		this.phoneNumber = phoneNumber;
		this.role = role;
		this.activityStatus = (activityStatus != null)?activityStatus.toString( ):"";
	}
	
	public String getActivityStatus() {
		return activityStatus;
	}
	
	public void setActivityStatus(Date activityStatus) {
		this.activityStatus = (activityStatus != null)?activityStatus.toString( ):"";
	}
	
	public String getUserLogin() {
		return userLogin;
	}
	public void setUserLogin(String login) {
		this.userLogin = login;
	}
	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public String getPhoneNumber() {
		return phoneNumber;
	}
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
}
